import { Layout } from 'antd';
import {HashRouter,Routes,Route} from 'react-router-dom';
import Login from './pages/login/login.jsx';
import Layoutpage from './layout/layout.jsx';


export default function Router() {
    return (
        <HashRouter>
        <Routes>
            <Route path="/login" element={<Login />} />
            <Route path="/*" element={<Layoutpage />} />
        </Routes>
        </HashRouter>
    );
}
